package cn.tedu.submarine_1;

import javax.swing.*;

public class Bomb extends SeaObject{
    public Bomb(int x,int y){
        super(9,12,x,y,3);
    }

    @Override
    public ImageIcon getImage() {
        return Images.bomb;
    }
    public void move(){
        setY(getY()+getSpeed());
    }
}
